package com.crm.service.cluePoolManager;

import com.crm.model.entity.cluePoolManager.CluePoolManager;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author luojie
 * @date 2021/1/11 16:38
 */
public interface CluePoolManagerDbService {

    /**
     * 插入数据
     */
    Boolean insertCluePoolManager(CluePoolManager cluePoolManager);

    /**
     * 根据线索池id和管理组人员id查询
     */
    CluePoolManager selectCluePoolManagerByPoolIdAndPeopleId(String poolId,String peopleId);

    /**
     * 根据线索池id查询人员列表
     */
    List<CluePoolManager> selectCluePoolManagerByPoolId(String poolId);

    /**
     * 删除线索池管理组数据
     * @param poolId
     * @return
     */
    Boolean deleteCluePoolManager(String poolId);
}
